home *** CD-ROM | disk | FTP | other *** search
/ Mac-Source 1994 July / Mac-Source_July_1994.iso / C and C++ / Libraries / EleOfC++ vrs 0.1 / PictView / TLink.h < prev    next >
Encoding:
C/C++ Source or Header  |  1991-07-14  |  702 b   |  29 lines  |  [TEXT/KAHL]

  1. /*
  2. ** This is the TLink class declaration.  This class is an adaptation of 
  3. ** the class of the same name in the book, Elements of C++ Macintosh 
  4. ** Programming, by Dan Weston.
  5. **
  6. ** Copyright © 1991 Mark Gross 
  7. ** (RR2, Box 84, Clayville, NY 13322);         
  8. ** this file may be published everywhere, but no charge
  9. ** may be made for its use.  Please contact me about any bugs found.
  10. ** I'm also looking for Macintosh development work, so drop me a line
  11. ** if you think I could help.  
  12. */
  13.  
  14. #define _H_TLink
  15.  
  16.  
  17.  
  18. struct TLink:indirect
  19. {
  20.     TLink*    fNext;
  21.     void*    fItem;
  22.     
  23.     TLink*    Init(TLink *n, void *item);
  24.     TLink*    GetNext(void);
  25.     void*    GetItem(void);
  26.     void    SetNext(TLink* aLink);
  27.     void    SetItem(void* anItem);
  28. };
  29.